<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <script src="../vue.js"></script>
</head>

<body>
  <div id="app">
    <!-- v-if基本使用, 如果值为true则会加载该标签, 为false则不会加载该标签(这个标签不会存在) -->
    <h2 v-if="false">{{meassage}}</h2>
  </div>
  <script>
    const app = new Vue({
      el: "#app",
      data: {
        meassage: "你好你好"
      }
    })
  </script>
</body>

</html>